package com.yyx.up.consumer.bean;

import com.yyx.up.common.api.Column;
import com.yyx.up.common.api.RowKey;
import com.yyx.up.common.api.TableRef;

/**
 * Description: 观影日志
 * @Author: yyx
 * @Create: 2023/5/10 16:45
 * @Version: 8
 */
@TableRef("up:watchlog")
public class WatchLog {
    @RowKey
    private String rowkey;
    @Column(family = "user_film")
    private String tel;
    @Column(family = "user_film")
    private String film;
    @Column(family = "user_film")
    private String watchtime;
    @Column(family = "user_film")
    private String duration;
    @Column(family = "user_film")
    private String flg = "1";
    private String name;

    public WatchLog(){

    }

    public WatchLog(String data) {
        String[] values = data.split("\t");
        tel = values[0];
        film = values[1];
        watchtime = values[2];
        duration = values[3];
    }

    public String getFlg() {
        return flg;
    }

    public void setFlg(String flg) {
        this.flg = flg;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRowkey() {
        return rowkey;
    }

    public void setRowkey(String rowkey) {
        this.rowkey = rowkey;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getFilm() {
        return film;
    }

    public void setFilm(String film) {
        this.film = film;
    }

    public String getWatchtime() {
        return watchtime;
    }

    public void setWatchtime(String watchtime) {
        this.watchtime = watchtime;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }
}
